package com.meiyou.pojo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Pinglun {
    private Integer id;

    private String dongtaiId;

    private Integer fbUserId;

    private Integer plUserId;

    private String content;

    private Integer dianzan;

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date shijian;

    private Integer isRead;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDongtaiId() {
        return dongtaiId;
    }

    public void setDongtaiId(String dongtaiId) {
        this.dongtaiId = dongtaiId == null ? null : dongtaiId.trim();
    }

    public Integer getFbUserId() {
        return fbUserId;
    }

    public void setFbUserId(Integer fbUserId) {
        this.fbUserId = fbUserId;
    }

    public Integer getPlUserId() {
        return plUserId;
    }

    public void setPlUserId(Integer plUserId) {
        this.plUserId = plUserId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getDianzan() {
        return dianzan;
    }

    public void setDianzan(Integer dianzan) {
        this.dianzan = dianzan;
    }

    public Date getShijian() {
        return shijian;
    }

    public void setShijian(Date shijian) {
        this.shijian = shijian;
    }

    public Integer getIsRead() {
        return isRead;
    }

    public void setIsRead(Integer isRead) {
        this.isRead = isRead;
    }
}